package com.view.cn.mvprxjava.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.view.cn.mvprxjava.R;
import com.view.cn.mvprxjava.view.RadarView;

/**
 * 自定义view
 * Created by Administrator on 2016/9/22 0013.
 */
public class RadarViewFragment extends BaseFragment {

	public static final String TAG = RadarViewFragment.class.getSimpleName();

	private RadarView mPieView;


	public static RadarViewFragment newInstance() {
		RadarViewFragment fragment = new RadarViewFragment();
		return fragment;
	}

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Nullable
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_radarview, container, false);
		initView(view);
		return view;
	}

	private void initView(View view) {
		mPieView = (RadarView) view.findViewById(R.id.pieView);
	}
}
